/**
 * Created by lily on 28/02/2017.
 */
import {singleApi} from '../helper/reduxFetch'
export const CLIENT_DEFULATE_DATA_LIST = 'CLIENT_DEFULATE_DATA_LIST' // 获取初始化list

export const getClientList = singleApi({ // 基本搜索
  url: '/dfws-customer/resources/queryCustomerByPage',
  action: (args, json) => {
    return {
      args,
      type: CLIENT_DEFULATE_DATA_LIST,
      data: json,
    }
  },
})
